﻿/*
 * @author: wizardc
 */

using System;
using UnityEngine;

namespace Demo.WorldMap
{
    /// <summary>
    /// 静态数据LOD配置
    /// </summary>
    public class StaticRenderLOD : ScriptableObject
    {
        public StaticRenderLODGroup[] groups;
    }

    [Serializable]
    public class StaticRenderLODGroup
    {
        public string name;
        /// <summary>
        /// 配置时请按高度从小到大排序
        /// </summary>
        public StaticRenderLODSetting[] lods;
    }

    [Serializable]
    public class StaticRenderLODSetting
    {
        public float cameraHeight;
        public bool show;
        public int lod;
    }
}
